package Work3;

public class elsezz extends Thread{
	int num;
	public elsezz(int num){
		this.num=num;
	}
	@Override
	public void run() {
		if(num%3!=0&&num%5!=0){
			System.out.print((num+"")+" ");
		}
	}
}
